class WashMachine{
    public String brand;
    public String type;
    public double weight;
    public double length;
    public double width;
    public double height;
    public String color;
    public void washClothes(){
        System.out.println("洗衣服");
    }
    public void dryClothes(){
        System.out.println("脱水");
    }
    public void setTime(){
        System.out.println("定时");
    }
}
public class test {
    public static void main(String[] args) {
        WashMachine w=new WashMachine();
        w.brand="haier";
        w.color="white";
        w.height=1000;
        w.setTime();
        System.out.println(w.brand);
        System.out.println(w.color);
        System.out.println(w.height);
    }
}
